www.gusucode.com > 茶都拼客网全功能版 8 > 茶都拼客网全功能版 8.8源码程序/teasdxmccom/茶都拼客网V8.8(全功能,无限制,完全开源)/Ku_reg.asp
<!--#include file="Ku_top.asp"--> <script type="text/javascript" src="Ku_type/uregcheck.js"></script> <%if request("action")="" then response.Write("<script>alert(""请勿提交非法信息!"");location.href=""Index.asp"";</script>") else %> <div align="center"> <table border="0" width="960" height="348" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF"> <tr> <td height="348" width="940" valign="top"> <div align="center"> <table border="0" width="980" id="table1" cellpadding="0" cellspacing="0" height="347"> <tr> <td height="36" background="Ku_img/reg_001.jpg"> <font color="#FFFFFF"><b></b></font> <b><font color="#505050"> </font><a href="Index.asp"><font color="#505050">首 页</font></a></b> >> <%if request("action")="Agree" then%> 会员注册协议<%else%> 资料填写<%end if%></td> </tr> <tr> <td background="Ku_img/reg_002.jpg" valign="top"> <div align="center"> <table border="0" width="99%" id="table1" height="587" cellpadding="1" cellpadding="1"> <tr> <td height="2"></td> </tr> <%if request("action")="Agree" then%> <tr> <td height="650" valign="top" style="border: 1px solid #CECFCE"><p align=center><br> <b>会员注册协议</b> <br><br> <textarea rows="36" name="xieyi" cols="83" readonly="true"><!--#include file="Ku_type/xieyi.txt"--></textarea> <p align=center> <input class="input_back" type="button" name="Submit" value=" 同意 协议 "onclick="location.href='Ku_reg.asp?action=Register'"/> <input class="input_back" type="button" name="Submit0" value=" 不 同 意 "onclick="location.href='Default.asp'"/></td> </tr> <%else userid=request("userid") %> <tr> <td height="650" valign="top" style="border: 1px solid #CECFCE"> <form method="POST" action="Deal_Reg.asp?action=Adduser" name="UserReg"> <div align="center"> <table border="0" width="914" bgcolor="#E6E6E6" id="table2" height="622" cellpadding="1" cellspacing="1"> <tr> <td bgcolor="#FFFFFF" align="right" colspan="3" height="51"> <p align="center"><b>请 认 真 填 写 以 下 资 料</b></td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right" height="32"> <b>会员帐号</b>:</td> <td bgcolor="#FFFFFF" width="212" height="32"> <input type="text" name="username" size="20" maxlength="15" onkeyup="javascript:CheckUserName(this.value);"> * </td> <td bgcolor="#FFFFFF" width="541" height="32"><font color="#FF0000"><div class="explain_blue" align='left'><span id="unamechk" ></span></div> </font></td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>帐号密码</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="password" name="password1" size="20" maxlength="18"> * 数字+字母组合最安全</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>确认密码</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="password" name="password2" size="20"> * 确认输入相同密码</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>密码问题</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="text" name="answer" size="41" maxlength="25"> * 用户忘记密码时好取回重新设置密码</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>问题答案</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="text" name="key" size="41" maxlength="15"> * 密码忘记凭答案找回</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>会员性别</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="radio" value="1" checked name="sex">帅哥 <input type="radio" value="0" name="sex">美女</td> </tr> <%if userid<>"" then set rsmsg=server.createobject("adodb.recordset") sqlmsg="select * from Ku_user where id="&userid rsmsg.open sqlmsg,conn,1,3 if (rsmsg.eof and rsmsg.bof) then Response.Write "<script>alert(""推荐ID不存在,请重新选择!"");location.href=""javascript:history.back()"";</script>" else %> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>推荐人</b>: </td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="text" name="usertj" size="15" maxlength="15" value="<%=rsmsg("username")%>" readonly> *不可更改</td> </tr> <% end if end if%> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>个人网站</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="text" name="http" size="41" maxlength="30" value="http://"> (有就填写)</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right" height="44"> <b>会员邮箱</b>:</td> <td bgcolor="#FFFFFF" height="44" width="756" colspan="2"> <input type="text" name="email" size="41" maxlength="30"> (可选填,如果需要兑换礼品,请认真填写!)</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>会员电话</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="text" name="tel" size="25" maxlength="11"> (可选填,如果需要兑换礼品,请认真填写!)</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>会员QQ</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input maxlength=10 name="qq" type="text" onKeyUp="this.value=this.value.replace(/[^\d]/g,'');" value="" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" style="width:182;height:23; line-height:18px"/> (可选填,如果需要兑换礼品,请认真填写!)</td> </tr> <tr> <td bgcolor="#FFFFFF" width="151" align="right"> <b>联系地址</b>:</td> <td bgcolor="#FFFFFF" width="756" colspan="2"> <input type="text" name="address" size="65" maxlength="50"> (同上)</td> </tr> <tr> <td bgcolor="#FFFFFF" align="right" colspan="3" height="187"> <p align="center"> <input type="submit" value="立即注册" name="reg"> <input type="reset" value=" 重 置 " name="reg"></td> </tr> </table> </div></form> </td> </tr> <%end if%> </table> </div> </td> </tr> <tr> <td height="6"> <img border="0" src="Ku_img/reg_003.jpg" width="980" height="6"></td> </tr> </table> </div> </td> </tr> </table> </div> <!--#include file="Ku_foot.asp"--> <%end if%>